package com.steam.xbcc.constans;

public class IntegralConstants {

    public static final Integer INTEGRAL_REGISTER = 10;
    public static final String INTEGRAL_FROM_REGISTER = "推荐人注册成功获得积分";
    public static final String INTEGRAL_FROM_REFER = "推荐人购课成功获得积分";
    public static final String INTEGRAL_FROM_BUY_COURSE = "购买课程获得积分";
    public static final String INTEGRAL_FROM_RECHARGE = "充值金额获得积分";
    public static final String INTEGRAL_FROM_PAY = "支付积分抵扣";
    // 添加积分
    public static final Integer INTEGRAL_STATE_ADD = 1;
    // 减少积分
    public static final Integer INTEGRAL_STATE_REDUCE = -1;
    public static final Double INTEGRAL_RATIO_FROM_REFER = 0.03;
    public static final Double INTEGRAL_RATIO_FROM_BUY_COURSE = 0.05;
    public static final Double INTEGRAL_RATIO_FROM_RECHARGE = 0.05;
    public static final Double INTEGRAL_RATIO_FROM_DEDUCTION = 0.1;
    // 向下取整
    public static final Integer INTEGRAL_ROUNDING_METHOD = 0;
}